package ltd.sshine.networkserver.service;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;

public interface ProxyService {
    /**
     * @param ctx             接收通道
     * @param fullHttpRequest 转发的请求
     * @param remoteHost
     * @param remotePort
     */
    void proxy(ChannelHandlerContext ctx, FullHttpRequest fullHttpRequest, String remoteHost, String remotePort);
}
